Crate dexterior_visuals
source ·Expand description
Real-time visualization for simulations implemented with dexterior
.
This crate is in an early state of development, currently only supporting a handful of 2D use cases. More features and an extension to 3D are planned in the future, and major API changes are likely to occur as a result.
To visualize a simulation,
first create a RenderWindow
,
then call run_animation
on it.
See the examples in the dexterior repo for concrete usage.
Re-exports§
pub use palette;
Modules§
- A collection of premade color maps.
Structs§
- An animated visualization of simulation data.
- Parameters to control aspects of an
Animation
. - Parameters to configure the drawing of arrows.
- Parameters to configure the drawing of axis lines.
- Styles for the start and end of a line segment or strip.
- A map determining how to colorize data.
- Parameters to configure the drawing of lines.
- The main user interface for drawing graphics.
- A window for drawing real-time graphics.
- Parameters for the creation of a
RenderWindow
. - Parameters to configure the drawing of mesh wireframes.
Enums§
- The shape to draw at the start or end of a line segment or strip.
- The shape to draw at the connection points between line segments in a line strip.
- How to interpret point data given to the line renderer.
- The width of a line and which space it’s defined in.
- An error that occurred when creating a
RenderWindow
.
Traits§
- Trait required from states given to
Animation
s.
Type Aliases§
- Colors in color maps are represented as 8-bit colors in linear sRGB space.